package com.bwie.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName tb_order
 */

@Data
public class OrderParam implements Serializable {


    /**
     * 订单状态
     */
    private String orderStatus;

    /**
     * 商品id
     */
    private Integer couponCodeId;

    /**
     * 交易时间
     */
    private Date tradeTime;

    private Integer userId;

    @NotNull(message = "页码不能为空")
    private Integer pageNum;

    @NotNull(message = "每页显示数量不能为空")
    private Integer pageSize;
}